import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import "@/assets/css/base.css";
import "@/assets/js/flexible.js";
import "@/assets/js/request.js";
import "@/assets/js/jquery.3.2.1.min.js";
import axios from 'axios';
import { Switch, CellGroup, Divider, Form,Icon,Sticky,Picker,Radio,RadioGroup,Toast,Dialog,Popup,DatetimePicker,Uploader, Area, List,Tabbar, TabbarItem,SwipeCell, Cell, Button, Loading, Field, Image as VanImage, ImagePreview,ActionSheet,PullRefresh,Tab,Tabs,NoticeBar,CheckboxGroup,Checkbox} from 'vant';
import 'vant/lib/index.less';
import request1 from '@/assets/js/request.js';
import qs from 'qs';
import VueWechatTitle from 'vue-wechat-title';
Vue.use(VueWechatTitle);

Vue.use(Switch);
Vue.use(CellGroup);
Vue.use(Divider);
Vue.use(Form);
Vue.use(Icon);
Vue.use(Picker);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(Sticky);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(qs);
Vue.use(Toast);
Vue.use(Dialog);
Vue.use(Popup);
Vue.use(DatetimePicker);
Vue.use(Uploader);
Vue.use(Area);
Vue.use(List);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(SwipeCell);
Vue.use(Cell);
Vue.use(Button);
Vue.use(Loading);
Vue.use(Field);
Vue.use(VanImage);
Vue.use(ImagePreview);
Vue.use(ActionSheet);
Vue.use(PullRefresh);
Vue.use(NoticeBar);
Vue.use(CheckboxGroup);
Vue.use(Checkbox);

Vue.prototype.$axios=axios;
Vue.prototype.request1 = request1;
Vue.config.productionTip = false;
// Vue.prototype.Url = "http://wythree.hldq188.com/";
// Vue.prototype.Url = "http://wyfour.hldq188.com/";



// Vue.prototype.Url = "http://busi.hldq666.com/";
// Vue.prototype.Url = "http://cese.hldq669.com/";
// Vue.prototype.Url = "http://newyqtone.ahldq168.com/";
// Vue.prototype.Url = "http://ryddone.ahldq688.com/";
Vue.prototype.Url = "http://busione.hldq988.com/";






// Vue.prototype.Url = "http://ryddtwo.ahldq688.com/";
// Vue.prototype.Url = "http://yqtaithree.hldq6688.com/";
// Vue.prototype.Url = "http://wytwo.hldq188.com/";
// Vue.prototype.Url = "http://wyone.hldq188.com/";
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');

router.beforeEach((to, from, next) => {
  /* 路由发生变化修改页面title */

    if (to.meta.title) {
        document.title = to.meta.title;
    }
    next()
})
